bufio.Writer.buf (field)
18 uses
bufio (current package)
bufio.go#L578: buf []byte
bufio.go#L589: if ok && len(b.buf) >= size {
bufio.go#L596: buf: make([]byte, size),
bufio.go#L609: func (b *Writer) Size() int { return len(b.buf) }
bufio.go#L623: if b.buf == nil {
bufio.go#L624: b.buf = make([]byte, defaultBufSize)
bufio.go#L639: n, err := b.wr.Write(b.buf[0:b.n])
bufio.go#L645: copy(b.buf[0:b.n-n], b.buf[n:b.n])
bufio.go#L656: func (b *Writer) Available() int { return len(b.buf) - b.n }
bufio.go#L663: return b.buf[b.n:][:0]
bufio.go#L681: n = copy(b.buf[b.n:], p)
bufio.go#L691: n := copy(b.buf[b.n:], p)
bufio.go#L705: b.buf[b.n] = c
bufio.go#L735: size = utf8.EncodeRune(b.buf[b.n:], r)
bufio.go#L761: n = copy(b.buf[b.n:], s)
bufio.go#L771: n := copy(b.buf[b.n:], s)
bufio.go#L801: m, err = r.Read(b.buf[b.n:])
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |